package com.meilai.project.entity.business.contract;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author xchen
 * @since 2022-04-13
 */
@Data
@TableName("proxy_media_detail")
@ApiModel(value = "ProxyMediaDetail对象", description = "")
public class ProxyMediaDetail {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键 ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "1: 合同，2：销售单")
    private Integer type;

    @ApiModelProperty(value = "所属单据id")
    private Long biz_id;

    @ApiModelProperty(value = "手填的项目名称")
    private String building_area_name;

    @ApiModelProperty(value = "媒体类型类别，1：media_type表，2：media_type_proxy")
    private Integer media_type_category;

    @ApiModelProperty(value = "媒体类型id")
    private Long media_type_id;

    @ApiModelProperty(value = "媒体规格id")
    private Integer media_type_spec_id;

    @ApiModelProperty(value = "媒体规格")
    private String media_type_spec;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "时长（天）")
    private String duration;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "刊例总价")
    private BigDecimal fill_amount;


    public static final String TYPE = "type";

    public static final String BIZ_ID = "biz_id";

    public static final String BUILDING_AREA_NAME = "building_area_name";

    public static final String MEDIA_TYPE_CATEGORY = "media_type_category";

    public static final String MEDIA_TYPE_ID = "media_type_id";

    public static final String QUANTITY = "quantity";

    public static final String AMOUNT = "amount";

}
